package xyz.xtt.asset.request;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 将同一个资产转移给多个人
 * 
 * @author huqibo
 * @date 2024/12/25
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class BatchTransferFromRequest {
	@Schema(description = "持有人")
	@NotNull(message = "持有人")
	private Long from;
	@Schema(description = "业务方id")
	private String bizId;
	@Valid
	@NotEmpty(message = "目标人不能为空")
	private List<BatchTransferFromItem> to;
}
